<template>
	<view class="top">
		<image @click="tui" class="top_image1" src="../../static/left.png" mode="widthFix"/>
		<view class="top2">{{title}}</view>
		<image @click="home" class="top_image2" src="../../static/shou.png" mode="widthFix"/>
	</view>
</template>

<script>
	var app=getApp();
	export default {
		data() {
			return {
				title:app.globalData.title
			}
		},
		methods: {
			tui(){
				uni.navigateBack({
				    delta: 1
				});
			},
			home(){
				uni.switchTab({
				    url: '/pages/index/index'
				});
			}
		}
	}
</script>
